package com.chen.seckill.service;

import com.chen.seckill.error.BusinessException;
import com.chen.seckill.service.bo.UserBO;

public interface UserService {

    UserBO getUserById(Integer id);

    void register(UserBO userBO) throws BusinessException;

    /**
     *
     * @param telphone 用户注册手机
     * @param encrptPasswrod 用户加密后的密码
     */
    UserBO validateLogin(String telphone, String encrptPasswrod) throws BusinessException;

}
